package com.york.user.convert;

import com.york.user.entity.SysUser;
import com.york.user.entity.req.PageSysUserReq;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 用mapstruct的转换器
 */
@Mapper
public interface SysUserConverter {

    // 代理对象
    SysUserConverter INSTANCE = Mappers.getMapper(SysUserConverter.class);

    SysUser convertReqToSysUser(PageSysUserReq pageSysUserReq);


}
